package com.wkbb.basic.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.basic.model.OrgHoliday;
import com.wkbb.basic.model.OrgHolidayItem;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.dto.basic.OrgHolidayDto;

import java.util.List;
import java.util.Map;

/**
 * @author lizhichao
 * @date 2019/8/17
 * @description
 */
public interface OrgHolidayService extends BaseService {

    List<OrgHoliday> getHolidayListByMapParams(Map<String,Object> parms) throws Exception;

    PageInfo<OrgHolidayDto> getOrgHolidayPageInfoList(Map<String,Object> parms, Integer pageNo, Integer pageSize) throws Exception;

    void addOrgHoliday(OrgHolidayDto orgHolidayDto) throws Exception;

    void updateOrgHoliday(OrgHolidayDto orgHolidayDto) throws Exception;

    List<OrgHolidayItem> selectByMapParms(Map<String,Object> parms) throws Exception;

    List<OrgHolidayDto> getHolidayByYearMonth(Map<String,Object> parms) throws Exception;

    void initOrgHoliday(Long orgId);
}
